package cn.stylefeng.guns.modular.pandian.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 盘点计划表
 */
@TableName("pandian_jihua")
@Data
public class PandianJihua implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 盘点名称
     */
    @TableField("disk_name")
    private String diskName;

    /**
     * 计划时间
     */
    @TableField("jihua_time")
    private String jihuaTime;

    /**
     * 盘点类型
     */
    @TableField("disk_type")
    private String diskType;

    /**
     * 进度
     */
    @TableField("speed")
    private String speed;

    /**
     * 开盘总库存
     */
    @TableField("count_num")
    private String countNum;
    
    /**
     * 开盘总体积
     */
    @TableField("count_volume")
    private String countVolume;

    /**
     *已盘数量
     */
    @TableField("already_num")
    private String alreadyNum;

    /**
     * 已盘体积
     */
    @TableField("already_volume")
    private String alreadyVolume;

    /**
     * 仓库id
     */
    @TableField("warehouse_id")
    private Long warehouseId;

    /**
     * 仓库名称
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 仓库编号
     */
    @TableField("warehouse_number")
    private String warehouseNumber;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建用户
     */
    @TableField("create_user_name")
    private String createUserName;

    /**
     * 结束时间
     */
    @TableField("over_time")
    private String overTime;

    /**
     * 结束用户
     */
    @TableField("over_user_name")
    private String overUserName;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "PandianJihua{" +
        "id=" + id +
        ", diskName=" + diskName +
        ", jihuaTime=" + jihuaTime +
        ", diskType=" + diskType +
        ", speed=" + speed +
        ", warehouseId=" + warehouseId +
        ", warehouseName=" + warehouseName +
        ", warehouseNumber=" + warehouseNumber +
        ", status=" + status +
        ", deliverId=" + deliverId +
        ", deptId=" + deptId +
        ", createTime=" + createTime +
        ", createUserName=" + createUserName +
        ", overTime=" + overTime +
        ", overUserName=" + overUserName +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
